<#include "/WEB-INF/template/common/macro/libs.ftl"/>
<#include "/WEB-INF/template/common/macro/base.ftl"/>
<html>
<head>
    <link href="${CONTEXT_PATH}/plugin/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"
          type="text/css"/>
    <link href="${CONTEXT_PATH}/plugin/assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
<@libs_bootstrap_css/>
<@libs_jquery_1_10_2/>
<@libs_datatables/>
    <script type="text/javascript">
    </script>
</head>
<#--消除滚动条-->
<body style="width: 97%;">
<div class="row">
    <div class="col-md-12">
        <form action="${CONTEXT_PATH}/plugin/s/auntie_info/search" method="post">
            <input type="text" class="input-small" id="uname" name="uname" placeholder="姓名" value="${uname!}">
            <input type="text" class="input-small" id="uphone" name="uphone" placeholder="电话"
                   value="${uphone!}">
            <input type="submit" value="查询"/>
        </form>
    </div>
</div>
<div class="row">
    <div class="col-md-10">
        <table class="table" style="width:100%;" id="sample_1">
            <thead>
            <tr>
                <th width="5%"></th>
                <th width="10%">登录名</th>
                <th width="10%">电话</th>
                <th width="10%">姓名</th>
                <th width="10%">积分</th>
                <th width="10%">余额</th>
                <th width="10%">状态</th>
            </tr>
            </thead>
            <tbody>
            <#list pageList.getList() as item>
            <tr>
                <td>
                    <input type="checkbox" name="s_users"
                           value="${item.uuid},${item.loginid},${item.phone},${item.name}"/>
                </td>
                <td>${item.loginid}</td>
                <td>${item.phone}</td>
                <td>${item.name}</td>
                <td><span class="badge label-success">${item.scope}</span></td>
                <td><span class="badge label-info">${item.amount}</span></td>
                <td>${(item.liveflag==1)?string('是','否')}</td>
            </tr>
            </#list>
            </tbody>
        </table>
    <#include "/WEB-INF/template/common/macro/paginate.ftl" />
    <@paginate
    currentPage=pageList.pageNumber
    totalPage=pageList.totalPage
    actionUrl="plugin/s/user_info/search/"
    urlParas=TB_URL_PARAM
    />
    </div>
</div>
</body>
</html>
